package com.imeth.cms;

import org.hibernate.validator.constraints.NotBlank;

import java.util.List;

/**
 * 模板
 * Created by huangcheng.dong on 2015/12/19.
 */
public class Template {
    private Integer id; //系统ID

    @NotBlank(message = "模板名称不能为空")
    private String name; //模板名称

    @NotBlank(message = "模板描述不能为空")
    private String description; //描述

    @NotBlank(message = "模板类目不能为空")
    private Integer categoryId; //栏位ID

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Integer getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(Integer categoryId) {
        this.categoryId = categoryId;
    }
}
